package com.example.demo.bean.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDate;

/*
 * @Author:大力王
 * @Date:2024/3/31-31-3:04
 * 开始了
 */
@Data
@ApiModel(value = "NewsVO对象", description = "用于添加新闻")
public class NewsAddVO {
    @ApiModelProperty("标题")
    String title;
    @ApiModelProperty("内容")
    String content;
    @ApiModelProperty("小编")
    String author;
    @ApiModelProperty("新闻时间")
    LocalDate newTime;
    @ApiModelProperty("图片")
    String img;
    @ApiModelProperty("新闻类型")
    String type;
    @ApiModelProperty("新闻状态")
    String status;
    @ApiModelProperty("新闻点赞数")
    Integer likeNum;
    @ApiModelProperty("新闻评论数")
    Integer commentNum;
}
